﻿using ALMDDD.Domain.Events;
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace ALMDDD.Domain.EventHandlers.SysUser
{
    /// <summary>
    /// sysUser事件集中处理
    /// </summary>
    public class SysUserEventHandler :
        INotificationHandler<SysUserAddEvent>
    {
        public Task Handle(SysUserAddEvent notification, CancellationToken cancellationToken)
        {
            ///注册成功之后的处理逻辑
            return Task.CompletedTask;
        }
    }
}
